package xyz.labmem;

import cn.hutool.core.util.ZipUtil;
import xyz.labmem.core.util.ResourceFileKt;

/**
 * @Author lty
 * @Date 2021/9/29 9:30
 */
public class PackageRun {
    public static String staticTempPath = System.getProperty("java.io.tmpdir") + "LabAppTemp";

    public static String htmlZipPath = "zip/html.zip";

    public static void main(String[] args) {
        String htmlPath = ResourceFileKt.getResourceFile("html").getAbsolutePath();
        String ZipPath = htmlPath.substring(0, htmlPath.lastIndexOf("/")) + "/" + htmlZipPath;
        ZipUtil.zip(htmlPath, ZipPath, true);
    }
}
